<div id="chooseIotMachineModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseIotMachineModelLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="chooseIotMachineModelLabel">
                    <vc:i18n name="选择设备" namespace="chooseIotMachine"></vc:i18n>
                </h3>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class=" row">
                    <div class="col-lg-12">
                        <div class="ibox ">
                            <div class="row">
                                <div class="col-sm-8">
                                    <button type="button" class="btn btn-primary btn-sm"
                                        v-on:click="_submitSelectIotMachine()">
                                        <vc:i18n name="确定" namespace="chooseIotMachine"></vc:i18n>
                                    </button>
                                </div>
                                <!--<div class="col-sm-4">
                                    <div class="input-group">
                                        <input :placeholder="vc.i18n('输入设备名称','chooseIotMachine')" type="text"
                                            v-model="chooseIotMachineInfo._currentIotMachineName" class="form-control form-control-sm">
                                        <span class="input-group-append">
                                            <button type="button" class="btn btn-sm btn-primary"
                                                v-on:click="queryIotMachines()">
                                                <vc:i18n name="查询"></vc:i18n>
                                            </button>
                                            <button type="button" class="btn btn-sm btn-primary"
                                                    v-on:click="reset()">
                                                <vc:i18n name="重置"></vc:i18n>
                                            </button>
                                        </span>
                                    </div>
                                </div>-->
                            </div>
                            <div class="table-responsive" style="margin-top:15px">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th class="text-center">
                                                <input type="checkbox" class="i-checks" @click="selectAll($event)">
                                            </th>
                                            <th class="text-center">
                                                <vc:i18n name='设备名称' namespace='chooseIotMachine'></vc:i18n>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr v-for="iotMachine in iotMachineList">
                                            <td class="text-center">
                                                <input type="checkbox" class="i-checks checkItem" v-bind:value="iotMachine"
                                                    v-model="chooseIotMachineInfo.selectIotMachineList">
                                            </td>
                                            <td class="text-center">{{iotMachine.machineName}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
